<?php 
header ( "Content-Type: text/html; charset=UTF-8" );
require_once '../CI_Test/application/dao/xmlDao.php';

class Product_model extends CI_Model {
	
	function __construct(){
		
	
	}
		

	function getList($category,$limit,$offset,$orderBy){
		
		$result = new XmlDao();
		return $result->getListData($category, $limit, $offset,$orderBy);
		
	}
	
	function getDetail($productCode){
		$result = new XmlDao();
		return $result->getDetailData($productCode);
		
	}
	

   

    

    
    
}

?>